Cypress Semiconductor /psoc63 /USBFS0 /USBDEV /SIE_EP7_CNT0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SIE_EP7_CNT0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0DATA_COUNT_MSB 0 (DATA_ERROR)DATA_VALID 0 (DATA_TOGGLE)DATA_TOGGLE

DATA_VALID=DATA_ERROR

Description

Non-control endpoint count register

Fields

DATA_COUNT_MSB

These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information.

DATA_VALID

This bit is used for OUT transactions only and is read only. It is cleared to ‘0’ if CRC bit stuffing errors or PID errors occur. This bit does not update for some endpoint mode settings.

0 (DATA_ERROR): No ACK’d transactions since bit was last cleared.

1 (DATA_VALID): Indicates a transaction ended with an ACK.

DATA_TOGGLE

This bit selects the DATA packet’s toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.

Links

() ()